#include	<stdio.h>
#include	"BdbBase.h"
int main(int argc, char* argv[])
{
	CBdbBase bdb = CBdbBase();
    char value[70] = {0};
    memcpy(value, "hellow", 6);
    bdb.insert(1,value);

    char out_value[77] = {0};

    bdb.get(1,out_value);
    printf(">>%s\n",out_value);

    memset(out_value,0,77);
    if(-1 == bdb.get(1,out_value))
    {
        printf("can't find key [%d]\n",1);
    }

    printf(">>%s\n",out_value);
	return 0;
}
